package com.gegao.somethinginteresting.utils.okhttp;

import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 * ${CLASSNAME}:
 * Created by liuchenghui on 2016/03/04.
 */
public abstract class BaseRequest {

    protected OkHttpClient okHttpClient;
    protected Request.Builder builder;

    protected String url;


    public BaseRequest() {
        this.okHttpClient =  new OkHttpClient();
        this.builder = new Request.Builder();
    }

    public Request.Builder url(String url){
        this.url = url;
        return builder;
    }

    public abstract void build();
}
